package com.anycl.design.j2ee.frontcontroller;

public class Main {

    public static void main(String[] args) {
        Dispatcher dispatcher = new Dispatcher(new UserView(), new LogoutView());
        FrontController front = new FrontController(dispatcher);
        front.dispatchRequest("user");
        front.dispatchRequest("logout");
    }
}
